package com.xx.pmis.services;

import java.util.List;

import com.xx.pmis.model.Item;

public interface ItemService {
	public void saveOrUpdateItem(Item item) throws Exception;
	public void saveItem(Item item) throws Exception;
	public void deleteItem(Item item) throws Exception;
	// 根据旅游计划ID查询该旅游计划
	public Item getItemByItemID(String itemID) throws Exception;    
	// 查询所有待办事项
	public List<Item> getAllWaitingItem() throws Exception;
	// 查询所有完成事项
	public List<Item> getAllAccomplishItem() throws Exception;
	// 查询所有完成事项，分页显示
	public List<Item> getAllAccomplishItemByPage(int currentPage, int lineSize) throws Exception;
	// 完成事项数
	public int getCountOfAccomplishItem() throws Exception;



}
